package service

import (
	"context"
	tech "gitee.com/min65535/gotechback/api/v1/tech/pb"
	"gitee.com/min65535/gotechback/techback/biz"
	"gitee.com/min65535/gotechback/techback/util/request_head"
)

type BaseService struct {
	etx *biz.EmailCtxUseCase
	tech.UnimplementedEmailEventServer
}

func NewService(etx *biz.EmailCtxUseCase) *BaseService {

	return &BaseService{etx: etx}
}

func (b *BaseService) Auth(hp *request_head.HeadParam) (uint64, error) {
	// TODO implement me
	panic("implement me")
}

func (b *BaseService) AuthTokenThird(ctx context.Context, ticket string) (uint64, string, string, error) {
	// _, err := s.auc.AuthTokenThird(ctx, ticket)
	// if err != nil {
	// 	return 0, "", "", err
	// }

	return 0, "", "", nil
}
